Skip to content

Fix unrendered mx-imgBorder div#14382

Merged
Court72 merged 1 commit into
MicrosoftDocs:mainfrom
kinu404:patch-2
Jul 9, 2026
Merged

Fix unrendered mx-imgBorder div#14382
Court72 merged 1 commit into
MicrosoftDocs:mainfrom
kinu404:patch-2

Conversation

@kinu404

@kinu404 kinu404 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Fixes the [!div class="mx-imgBorder"] markup leaking into the rendered page in the "Enable or disable inheritance for a specific repository" section of Set Git repository permissions.

Problem: The [!div] extension and its image were missing the blockquote (>) prefix, so DocFX didn't parse them as an extension and rendered [!div class="mx-imgBorder"] as literal text next to the screenshot.

Fix: Added the > prefix to both the [!div] line and the image line so they form a single blockquote, matching the correctly rendered usage in the "Set permissions for a specific user" section of the same file.

Fixes the `[!div class="mx-imgBorder"]` markup leaking into the rendered page in the "Enable or disable inheritance for a specific repository" section of Set Git repository permissions.

Problem: The `[!div]` extension and its image were missing the blockquote (`>`) prefix, so DocFX didn't parse them as an extension and rendered `[!div class="mx-imgBorder"]` as literal text above the screenshot.

Fix: Added the `>` prefix to both the `[!div]` line and the image line so they form a single blockquote, matching the correctly rendered usage in the "Set permissions for a specific user" section of the same file.
@prmerger-automator

Copy link
Copy Markdown
Contributor

@kinu404 : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

1 similar comment
@prmerger-automator

Copy link
Copy Markdown
Contributor

@kinu404 : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@v-regandowner

Copy link
Copy Markdown
Contributor

@Battle-born

Can you review the proposed changes?

IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a DocFX rendering issue in the Azure Repos documentation by ensuring the [!div class="mx-imgBorder"] screenshot wrapper is correctly parsed (instead of showing up as literal text) in the “Enable or disable inheritance for a specific repository” section.

Changes:

  • Added the required blockquote (>) prefix to the [!div class="mx-imgBorder"] line and its associated image line so DocFX treats them as an extension block.
  • Normalized the indentation of the final “Security REST API commands” related-content bullet so it remains part of the list.

@Court72

Court72 commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@kinu404 - Thanks for the formatting fix! I'll go ahead and merge this PR now.

@Court72 Court72 merged commit f12ae01 into MicrosoftDocs:main Jul 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants